<?php
echo $html->css ( 'style' );
echo $javascript->link('jquery-1.4.2');
echo $html->css('start/jquery-ui-1.8.2.custom');
echo $javascript->link('jquery-ui-1.8.2.custom.min');
echo $html->css ( 'tab' );
?> 
<script type="text/javascript">
	$(function(){
		$(".datepickerSpan :input").datepicker({
			inline: true
		});
		 $('.datepickerSpan :input').datepicker('option', {dateFormat: "yy-mm-dd"});
		 $('.datepickerSpan :input').datepicker( "option", "closeText", 'X' );
	});
</script>
<div id="tabmenubar">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="tabmenubarcontent"><?php echo __("YourPosition");echo "：渠道统计"; //echo __($nowPosition)?></td>
		<td></td>
		<td></td>

	</tr>
</table>
</div>
<div class="tabflex">
<fieldset>
<?php echo $form->create('Channelmanage',array('action'=>'channelmanagestats','type'=> 'post'));?>
 		<legend><?php __('渠道统计');?></legend>
 	<table>
 	<tr>
 		<td>
		<span class="datepickerSpan">
			入库时间:<input type="text" id="starttime" name="starttime"></input>
		</span>
		<span class="datepickerSpan">
			到:<input type="text" name="endtime" id="endtime"></input>
		</span>
		</td>
		<td><?php echo $form->button('统计',array('type'=>'submit','class'=>'calculatorbutton'));?>
		</td>
	</tr>
	</table>
<?php echo $form->end();?>
</fieldset>
</div>
